package cn.sunlelin.educationserver.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class Fathertype {
    private Integer fathertypeId;
    private String fathertypeName;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS", timezone = "Asia/Shanghai")
    private Date createTime;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:SS", timezone = "Asia/Shanghai")
    private Date updateTime;
    private String delFlag;

    public Fathertype() {
    }

    public Fathertype(Integer fathertypeId, String fathertypeName, Date createTime, Date updateTime, String delFlag) {
        this.fathertypeId = fathertypeId;
        this.fathertypeName = fathertypeName;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.delFlag = delFlag;
    }

    public Integer getFathertypeId() {
        return fathertypeId;
    }

    public void setFathertypeId(Integer fathertypeId) {
        this.fathertypeId = fathertypeId;
    }

    public String getFathertypeName() {
        return fathertypeName;
    }

    public void setFathertypeName(String fathertypeName) {
        this.fathertypeName = fathertypeName;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    @Override
    public String toString() {
        return "Fathertype{" +
                "fathertypeId=" + fathertypeId +
                ", fathertyperName='" + fathertypeName + '\'' +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delFlag='" + delFlag + '\'' +
                '}';
    }
}
